import { createRouter, createWebHashHistory } from "vue-router";
import LoginComponent from "../views/LoginComponent.vue"
import RegComponent from "../views/RegComponent.vue"
import HomeComponent from "../views/HomeComponent.vue";
import SampleComponent from "../views/SampleComponent"



const routes = [
    {
        path: '/',
        name: 'Home',
        component: HomeComponent
    },
    {
        path: '/register',
        name: 'Register',
        component: RegComponent
    },
    {
        path: '/login',
        name: 'Login',
        component: LoginComponent
    },
    {
        path: '/sample',
        name: 'Sample',
        component: SampleComponent
    }
]




const router = createRouter({
    history: createWebHashHistory(),
    routes
})



export default router;